package cn.lds.j367.dsbank.service.impl;

import cn.lds.j367.dsbank.entity.ProvinceCityDistrict;
import cn.lds.j367.dsbank.mapper.ProvinceCityDistrictMapper;
import cn.lds.j367.dsbank.service.ProvinceCityDistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProvinceCityDistrictServiceImpl implements ProvinceCityDistrictService {

    @Autowired
    private ProvinceCityDistrictMapper provinceCityDistrictMapper;

    @Override
    public List<ProvinceCityDistrict> selectProvinceCityDistrictByParentId(Integer parentId) {
        return provinceCityDistrictMapper.selectProvinceCityDistrictByParentId(parentId);
    }
}
